package com.fullstack.landscape.editor.common;

/**
 * 设备返回码 Created by thinkpad on 2017/6/6.
 */
public enum ResponseCode {
    SUCCESS("S200", "SUCCESS"), INVALID_RESOURCE("E302", "Invalid resource"), SERVER_ERROR("E300",
            "Server error,Please try later"), METHOD_ARGUMENT_NOT_VALID("E301", "Error Argument,Please check");

    private String code;
    private String msg;

    ResponseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}